function [ d ] = distanc( t, spline,bod )
bodC=ppval(spline,t);
d=norm(bodC-bod);
end

